package com.ms.service.entity;

import lombok.Data;

/**
 * Created by qihao on 2018/3/29.
 */
public class ShoppingCartRecord {
    private Integer id;
    private Integer userId;
    private Integer productId;
    private Integer total;

    public ShoppingCartRecord() {
    }

    public ShoppingCartRecord(Integer id, Integer total, Integer productId, Integer userId) {
        this.id = id;
        this.total = total;
        this.productId = productId;
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
